How to solve FollowSymlinks not allowed error in Virtualmin

To fix .htaccess: Option FollowSymlinks not allowed here error in Virtualmin, follow the steps below.

Allow symlinks in Webmin file /etc/webmin/virtual-server/config 

Change allow_symlinks=0 to allow_symlinks=1 

Restart apache service after changes in Webmin file.

Try changing that option to "SymLinksIfOwnerMatch" instead of "FollowSymlinks" in .htaccess file

or you can add +FollowSymlinks in apache config file by:

 

Virtualmin >> Services >> Configure website >> Edit Directives

Under <Directory /home/yourdomain/public_html>

Change

Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch

to 

Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI +FollowSymlinks
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch,FollowSymlinks

 
 
 
 
 
 
  • virtualmin, Virtualmin, FollowSymlinks, SymLinksIfOwnerMatch, OpenCart, htaccess, .htaccess
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to increase PHP memory limit in virtualmin

To increase the PHP memory limit in Virtualmin, do the following:   1. Log into Virtualmin...

How to change password of Virtualmin

Please follow the below steps to change the password of the Virtualmin Admin. Login to...

How to create an email account in Virtualmin

To create an email account in Virtualmin, do the following: logged into Virtualmin. Choose...

How to install FREE SSL certificate in Virtualmin

Please follow the below steps to install a FREE SSL certificate in Virtualmin. 1. logged into...

How to run Cron job manually in Virtualmin

Please follow the below steps to run the run cron job manually in Virtualmin.   Login to...

Powered by WHMCompleteSolution